/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Model.dao;

import java.io.IOException;
import java.util.ArrayList;

import Model.pojo.Compra;

public interface InterfaceCompraDao {
	ArrayList<Compra> ler() throws IOException;
	void inserir (long codigo, double preco);
	boolean salvar(Compra compra) throws IOException; // salva no arquivo
	boolean salvar(ArrayList<Compra> lista) throws IOException; // salva no vetor
}
